package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.vo.NLaboratoryMechanicsPressMachineVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMechanicsPressMachineBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 力学实验室压力机上传数据Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryMechanicsPressMachineService {

    /**
     * 查询力学实验室压力机上传数据
     */
    NLaboratoryMechanicsPressMachineVo queryById(String id);

    /**
     * 查询力学实验室压力机上传数据列表
     */
    TableDataInfo<NLaboratoryMechanicsPressMachineVo> queryPageList(NLaboratoryMechanicsPressMachineBo bo, PageQuery pageQuery);

    /**
     * 查询力学实验室压力机上传数据列表
     */
    List<NLaboratoryMechanicsPressMachineVo> queryList(NLaboratoryMechanicsPressMachineBo bo);

    /**
     * 新增力学实验室压力机上传数据
     */
    Boolean insertByBo(NLaboratoryMechanicsPressMachineBo bo);

    /**
     * 修改力学实验室压力机上传数据
     */
    Boolean updateByBo(NLaboratoryMechanicsPressMachineBo bo);

    /**
     * 校验并批量删除力学实验室压力机上传数据信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    /**
     * 压力机设备列表
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<NLaboratoryMechanicsPressMachineVo> page(NLaboratoryMechanicsPressMachineBo bo, PageQuery pageQuery);
}
